package com.tc.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.util.Date;

/**
 * @Auther: tianchao
 * @Date: 2021/8/28 19:39
 * @Description:
 */
@Data
@ExcelTarget("emp")
public class Emp {
    @Excel(name = "编号")
    private String id;
    @Excel(name = "姓名")
    private String name;
    @Excel(name = "年龄",suffix = "岁")
    private Integer age;
    @Excel(name = "生日",importFormat = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;
    @Excel(name = "状态",replace = {"启用_1","禁用_0"})
    private Integer status;
}
